import { createPinia } from 'pinia'
// 导入持久化插件
import persist from 'pinia-plugin-persistedstate'

const pinia = createPinia()

pinia.use(persist)

export default pinia
// 为文件配置统一出口
export * from './modules/user'
export * from './modules/counter'
